
<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>2023城市音乐节 - 心动社交</title>
    <!-- Bootstrap 5 CSS -->
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet">
    <!-- Font Awesome -->
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
    
    <style>
        /* 基础样式 */
        body {
            font-family: 'Inter', 'Segoe UI', Roboto, sans-serif;
            background-color: #f8fafc;
            color: #334155;
            line-height: 1.6;
        }
        
        /* 导航栏样式 */
        .navbar {
            background-color: white;
            box-shadow: 0 2px 10px rgba(0,0,0,0.05);
            padding: 0.75rem 0;
        }
        
        .logo {
            font-weight: 700;
            font-size: 1.5rem;
            color: #3b82f6;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        
        .nav-link {
            color: #64748b;
            font-weight: 500;
            transition: color 0.2s;
            padding: 0.5rem 1rem !important;
        }
        
        .nav-link:hover, .nav-link.active {
            color: #3b82f6;
        }
        
        /* 活动头部样式 */
        .event-header {
            margin-bottom: 2rem;
        }
        
        .event-banner {
            width: 100%;
            height: 400px;
            border-radius: 16px;
            overflow: hidden;
            margin-bottom: 1.5rem;
            position: relative;
        }
        
        .event-banner img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        
        .event-status {
            position: absolute;
            top: 1.5rem;
            right: 1.5rem;
            background-color: rgba(0,0,0,0.6);
            color: white;
            padding: 0.5rem 1rem;
            border-radius: 20px;
            font-size: 0.9rem;
            font-weight: 500;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        
        .event-title-container {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            flex-wrap: wrap;
            gap: 1rem;
            margin-bottom: 1rem;
        }
        
        .event-title {
            font-size: 2rem;
            font-weight: 700;
            color: #1e293b;
            margin: 0;
        }
        
        .event-actions {
            display: flex;
            gap: 1rem;
        }
        
        .action-btn {
            display: flex;
            align-items: center;
            gap: 8px;
            padding: 0.6rem 1.2rem;
            border-radius: 8px;
            font-weight: 500;
            transition: all 0.2s;
            border: none;
            cursor: pointer;
        }
        
        .action-btn.primary {
            background-color: #3b82f6;
            color: white;
        }
        
        .action-btn.primary:hover {
            background-color: #2563eb;
        }
        
        .action-btn.secondary {
            background-color: #f1f5f9;
            color: #64748b;
        }
        
        .action-btn.secondary:hover {
            background-color: #e2e8f0;
            color: #334155;
        }
        
        .event-meta {
            display: flex;
            flex-wrap: wrap;
            gap: 1.5rem;
            margin-bottom: 1.5rem;
            color: #64748b;
        }
        
        .meta-item {
            display: flex;
            align-items: center;
            gap: 8px;
        }
        
        .event-category {
            display: inline-block;
            padding: 4px 12px;
            border-radius: 12px;
            font-size: 0.85rem;
            font-weight: 500;
            margin-bottom: 1rem;
        }
        
        /* 内容区域样式 */
        .content-container {
            display: flex;
            gap: 2rem;
        }
        
        .main-content {
            flex: 1;
        }
        
        .sidebar {
            width: 350px;
            flex-shrink: 0;
        }
        
        .card {
            background-color: white;
            border-radius: 12px;
            box-shadow: 0 4px 6px rgba(0,0,0,0.02);
            padding: 1.5rem;
            margin-bottom: 1.5rem;
        }
        
        .card-title {
            font-weight: 600;
            font-size: 1.2rem;
            color: #1e293b;
            margin-bottom: 1rem;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        
        .event-description {
            line-height: 1.8;
            margin-bottom: 2rem;
        }
        
        .event-description p {
            margin-bottom: 1rem;
        }
        
        .event-description img {
            max-width: 100%;
            border-radius: 8px;
            margin: 1.5rem 0;
        }
        
        /* 发起人信息 */
        .host-info {
            display: flex;
            align-items: center;
            gap: 1rem;
            padding-bottom: 1rem;
            border-bottom: 1px solid #f1f5f9;
            margin-bottom: 1rem;
        }
        
        .host-avatar {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            object-fit: cover;
        }
        
        .host-details {
            flex: 1;
        }
        
        .host-name {
            font-weight: 600;
            color: #1e293b;
            margin-bottom: 4px;
        }
        
        .host-meta {
            font-size: 0.85rem;
            color: #64748b;
        }
        
        /* 参与者列表 */
        .participants-list {
            display: flex;
            flex-wrap: wrap;
            gap: 0.75rem;
            margin-bottom: 1rem;
        }
        
        .participant {
            position: relative;
        }
        
        .participant-avatar {
            width: 48px;
            height: 48px;
            border-radius: 50%;
            object-fit: cover;
            border: 2px solid white;
        }
        
        .participant-count {
            width: 48px;
            height: 48px;
            border-radius: 50%;
            background-color: #f1f5f9;
            color: #64748b;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.85rem;
            font-weight: 500;
            border: 2px solid white;
        }
        
        .participant-tooltip {
            position: absolute;
            bottom: 100%;
            left: 50%;
            transform: translateX(-50%);
            background-color: #1e293b;
            color: white;
            padding: 4px 8px;
            border-radius: 4px;
            font-size: 0.75rem;
            white-space: nowrap;
            opacity: 0;
            visibility: hidden;
            transition: all 0.2s;
            margin-bottom: 5px;
        }
        
        .participant:hover .participant-tooltip {
            opacity: 1;
            visibility: visible;
        }
        
        /* 留言板样式 */
        .comments-section {
            margin-top: 2rem;
        }
        
        .comment-form {
            margin-bottom: 2rem;
        }
        
        .comment-input {
            width: 100%;
            border: 1px solid #e2e8f0;
            border-radius: 8px;
            padding: 1rem;
            font-size: 1rem;
            resize: none;
            transition: all 0.3s;
            margin-bottom: 1rem;
        }
        
        .comment-input:focus {
            outline: none;
            border-color: #3b82f6;
            box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
        }
        
        .comment-actions {
            display: flex;
            justify-content: flex-end;
            gap: 1rem;
        }
        
        .comment-btn {
            padding: 0.5rem 1.2rem;
            border-radius: 6px;
            font-weight: 500;
            transition: all 0.2s;
            border: none;
            cursor: pointer;
        }
        
        .comments-list {
            display: flex;
            flex-direction: column;
            gap: 1.5rem;
        }
        
        .comment-item {
            display: flex;
            gap: 1rem;
            padding-bottom: 1.5rem;
            border-bottom: 1px solid #f1f5f9;
        }
        
        .comment-avatar {
            width: 48px;
            height: 48px;
            border-radius: 50%;
            object-fit: cover;
            flex-shrink: 0;
        }
        
        .comment-content {
            flex: 1;
        }
        
        .comment-header {
            display: flex;
            justify-content: space-between;
            margin-bottom: 0.5rem;
        }
        
        .comment-author {
            font-weight: 600;
            color: #1e293b;
        }
        
        .comment-time {
            font-size: 0.85rem;
            color: #64748b;
        }
        
        .comment-text {
            margin-bottom: 0.75rem;
            line-height: 1.6;
        }
        
        .comment-actions {
            display: flex;
            gap: 1rem;
            font-size: 0.85rem;
        }
        
        .comment-action {
            color: #64748b;
            cursor: pointer;
            transition: color 0.2s;
            display: flex;
            align-items: center;
            gap: 4px;
        }
        
        .comment-action:hover {
            color: #3b82f6;
        }
        
        /* 回复样式 */
        .replies-list {
            margin-left: 2rem;
            margin-top: 1rem;
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }
        
        .reply-item {
            display: flex;
            gap: 0.75rem;
            padding-bottom: 1rem;
            border-bottom: 1px solid #f1f5f9;
        }
        
        .reply-avatar {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            object-fit: cover;
            flex-shrink: 0;
        }
        
        .reply-content {
            flex: 1;
        }
        
        .reply-form {
            margin-left: 2rem;
            margin-top: 1rem;
            display: flex;
            gap: 0.75rem;
        }
        
        .reply-input {
            flex: 1;
            border: 1px solid #e2e8f0;
            border-radius: 6px;
            padding: 0.75rem;
            font-size: 0.9rem;
            resize: none;
            transition: all 0.3s;
        }
        
        .reply-input:focus {
            outline: none;
            border-color: #3b82f6;
            box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
        }
        
        /* 相关活动 */
        .related-events {
            margin-top: 3rem;
        }
        
        .events-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
            gap: 1.5rem;
            margin-top: 1.5rem;
        }
        
        .related-event-card {
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 4px 6px rgba(0,0,0,0.02);
            transition: all 0.3s;
            background-color: white;
        }
        
        .related-event-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(0,0,0,0.05);
        }
        
        .related-event-image {
            width: 100%;
            height: 150px;
            object-fit: cover;
        }
        
        .related-event-content {
            padding: 1rem;
        }
        
        .related-event-title {
            font-weight: 600;
            color: #1e293b;
            margin-bottom: 0.5rem;
            font-size: 1rem;
        }
        
        .related-event-meta {
            font-size: 0.8rem;
            color: #64748b;
            display: flex;
            align-items: center;
            gap: 0.5rem;
            margin-bottom: 0.25rem;
        }
        
        /* 分类颜色 */
        .cat-music { background-color: #e0f2fe; color: #0369a1; }
        .cat-food { background-color: #fef3c7; color: #92400e; }
        .cat-movie { background-color: #e0e7ff; color: #4338ca; }
        .cat-sport { background-color: #dcfce7; color: #15803d; }
        .cat-art { background-color: #fee2e2; color: #b91c1c; }
        .cat-travel { background-color: #f3e8ff; color: #7c3aed; }
        .cat-study { background-color: #d1fae5; color: #065f46; }
        
        /* 响应式调整 */
        @media (max-width: 992px) {
            .content-container {
                flex-direction: column;
            }
            
            .sidebar {
                width: 100%;
            }
            
            .event-banner {
                height: 300px;
            }
        }
        
        @media (max-width: 768px) {
            .event-title {
                font-size: 1.5rem;
            }
            
            .event-actions {
                width: 100%;
                justify-content: space-between;
            }
            
            .event-banner {
                height: 220px;
            }
            
            .event-meta {
                gap: 1rem;
            }
        }
        
        @media (max-width: 576px) {
            .event-actions {
                flex-direction: column;
            }
            
            .action-btn {
                width: 100%;
                justify-content: center;
            }
            
            .event-banner {
                height: 180px;
            }
            
            .card {
                padding: 1rem;
            }
        }
        
        /* 动画效果 */
        .fade-in {
            opacity: 0;
            transform: translateY(20px);
            transition: opacity 0.6s ease-out, transform 0.6s ease-out;
        }
        
        /* 页脚 */
        footer {
            background-color: white;
            padding: 2rem 0;
            border-top: 1px solid #f1f5f9;
            margin-top: 3rem;
        }
        
        .footer-content {
            text-align: center;
            color: #64748b;
            font-size: 0.9rem;
        }
    </style>
</head>
<body>
    <!-- 导航栏 -->
    <nav class="navbar navbar-expand-lg">
        <div class="container">
            <a href="#" class="logo">
                <i class="fas fa-heart"></i>
                <span>心动社交</span>
            </a>
            
            <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarContent">
                <i class="fas fa-bars"></i>
            </button>
            
            <div class="collapse navbar-collapse" id="navbarContent">
                <ul class="navbar-nav ms-auto gap-1">
                    <li class="nav-item">
                        <a href="#" class="nav-link">首页</a>
                    </li>
                    <li class="nav-item">
                        <a href="#" class="nav-link active">活动列表</a>
                    </li>
                    <li class="nav-item">
                        <a href="#" class="nav-link">附近的人</a>
                    </li>
                    <li class="nav-item">
                        <a href="#" class="nav-link">消息</a>
                    </li>
                    <li class="nav-item">
                        <a href="#" class="btn btn-primary">
                            <i class="fas fa-plus me-1"></i> 发起活动
                        </a>
                    </li>
                </ul>
            </div>
        </div>
    </nav>
    
    <!-- 主内容区 -->
    <div class="container py-5">
        <!-- 活动头部 -->
        <div class="event-header fade-in">
            <div class="event-banner">
                <img src="https://picsum.photos/1200/400?random=10" alt="城市音乐节现场" class="event-image">
                <div class="event-status">
                    <i class="fas fa-clock"></i>
                    <span>即将开始</span>
                </div>
            </div>
            
            <div class="event-title-container">
                <div>
                    <span class="event-category cat-music">音乐演出</span>
                    <h1 class="event-title">2023城市音乐节，感受夏日激情</h1>
                </div>
                
                <div class="event-actions">
                    <button class="action-btn secondary">
                        <i class="far fa-share-alt"></i>
                        <span>分享</span>
                    </button>
                    <button class="action-btn secondary">
                        <i class="far fa-bookmark"></i>
                        <span>收藏</span>
                    </button>
                    <button class="action-btn primary">
                        <i class="far fa-plus-circle"></i>
                        <span>我要参加</span>
                    </button>
                </div>
            </div>
            
            <div class="event-meta">
                <div class="meta-item">
                    <i class="far fa-calendar-alt"></i>
                    <span>2023年7月15日 18:00 - 22:00</span>
                </div>
                <div class="meta-item">
                    <i class="far fa-map-marker-alt"></i>
                    <span>中央公园音乐广场</span>
                </div>
                <div class="meta-item">
                    <i class="far fa-money-bill-wave"></i>
                    <span>¥120/人</span>
                </div>
                <div class="meta-item">
                    <i class="far fa-user"></i>
                    <span>328人已参加</span>
                </div>
                <div class="meta-item">
                    <i class="far fa-eye"></i>
                    <span>1.2k人浏览</span>
                </div>
            </div>
        </div>
        
        <!-- 内容区域 -->
        <div class="content-container">
            <!-- 主要内容 -->
            <div class="main-content">
                <!-- 活动详情 -->
                <div class="card fade-in">
                    <h2 class="card-title">
                        <i class="fas fa-info-circle"></i>
                        活动详情
                    </h2>
                    <div class="event-description">
                        <p>2023城市音乐节强势来袭！这是一场属于音乐爱好者的盛宴，将汇集众多知名乐队和音乐人，带来震撼的现场演出。</p>
                        
                        <p>无论你喜欢摇滚、流行、电子还是民谣，这里都能满足你的音乐味蕾。我们精心打造了多个舞台，让你可以沉浸在不同风格的音乐世界中。</p>
                        
                        <img src="https://picsum.photos/800/400?random=11" alt="音乐节现场布置" class="event-image">
                        
                        <h3>活动亮点：</h3>
                        <ul>
                            <li>10+知名乐队和音乐人现场演出</li>
                            <li>4个不同风格的音乐舞台</li>
                            <li>美食区提供各类特色小吃</li>
                            <li>创意市集展示独立设计师作品</li>
                            <li>互动体验区可参与音乐相关活动</li>
                        </ul>
                        
                        <h3>演出时间表：</h3>
                        <p><strong>主舞台：</strong></p>
                        <ul>
                            <li>18:00 - 19:00 开场乐队</li>
                            <li>19:30 - 20:30 流行组合"星光"</li>
                            <li>21:00 - 22:00 压轴乐队"火焰"</li>
                        </ul>
                        
                        <p><strong>电子舞台：</strong></p>
                        <ul>
                            <li>18:30 - 20:00 DJ Mike</li>
                            <li>20:30 - 22:00 DJ Luna</li>
                        </ul>
                        
                        <h3>温馨提示：</h3>
                        <ul>
                            <li>请提前30分钟入场，凭票兑换手环</li>
                            <li>现场禁止携带易燃易爆物品</li>
                            <li>可自带折叠椅，但禁止携带大型行李</li>
                            <li>现场设有饮水处，请自备水杯</li>
                            <li>公共交通出行更便捷，附近有停车场但车位有限</li>
                        </ul>
                    </div>
                </div>
                
                <!-- 留言板 -->
                <div class="card comments-section fade-in">
                    <h2 class="card-title">
                        <i class="fas fa-comments"></i>
                        留言板 (86)
                    </h2>
                    
                    <!-- 留言表单 -->
                    <div class="comment-form">
                        <textarea class="comment-input" rows="4" placeholder="分享你的想法..."></textarea>
                        <div class="comment-actions">
                            <button class="comment-btn secondary">取消</button>
                            <button class="comment-btn primary">发布留言</button>
                        </div>
                    </div>
                    
                    <!-- 留言列表 -->
                    <div class="comments-list">
                        <!-- 留言1 -->
                        <div class="comment-item">
                            <img src="https://picsum.photos/200/200?random=201" alt="李小华的头像" class="comment-avatar">
                            <div class="comment-content">
                                <div class="comment-header">
                                    <span class="comment-author">李小华</span>
                                    <span class="comment-time">2小时前</span>
                                </div>
                                <div class="comment-text">
                                    超级期待这场音乐节！去年就参加了，氛围特别好，今年一定要早点去占个好位置！有没有小伙伴想一起组队的？
                                </div>
                                <div class="comment-actions">
                                    <div class="comment-action">
                                        <i class="far fa-heart"></i>
                                        <span>32</span>
                                    </div>
                                    <div class="comment-action reply-btn">
                                        <i class="far fa-reply"></i>
                                        <span>回复</span>
                                    </div>
                                </div>
                                
                                <!-- 回复列表 -->
                                <div class="replies-list">
                                    <div class="reply-item">
                                        <img src="https://picsum.photos/200/200?random=202" alt="张音乐的头像" class="reply-avatar">
                                        <div class="reply-content">
                                            <div class="comment-header">
                                                <span class="comment-author">张音乐</span>
                                                <span class="comment-time">1小时前</span>
                                            </div>
                                            <div class="comment-text">
                                                我也打算去！可以一起啊，我知道几个拍照特别出片的位置~
                                            </div>
                                            <div class="comment-actions">
                                                <div class="comment-action">
                                                    <i class="far fa-heart"></i>
                                                    <span>8</span>
                                                </div>
                                                <div class="comment-action reply-btn">
                                                    <i class="far fa-reply"></i>
                                                    <span>回复</span>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                    
                                    <!-- 回复表单 -->
                                    <div class="reply-form">
                                        <img src="https://picsum.photos/200/200?random=user" alt="你的头像" class="reply-avatar">
                                        <textarea class="reply-input" rows="2" placeholder="回复 @李小华..."></textarea>
                                        <button class="comment-btn primary">回复</button>
                                    </div>
                                </div>
                            </div>
                        </div>
                        
                        <!-- 留言2 -->
                        <div class="comment-item">
                            <img src="https://picsum.photos/200/200?random=203" alt="王吉他的头像" class="comment-avatar">
                            <div class="comment-content">
                                <div class="comment-header">
                                    <span class="comment-author">王吉他</span>
                                    <span class="comment-time">昨天 18:30</span>
                                </div>
                                <div class="comment-text">
                                    有人知道今年的阵容和去年比怎么样吗？去年的"海浪乐队"太赞了，希望今年还能看到他们！
                                </div>
                                <div class="comment-actions">
                                    <div class="comment-action">
                                        <i class="far fa-heart"></i>
                                        <span>15</span>
                                    </div>
                                    <div class="comment-action reply-btn">
                                        <i class="far fa-reply"></i>
                                        <span>回复</span>
                                    </div>
                                </div>
                                
                                <!-- 回复列表 -->
                                <div class="replies-list">
                                    <div class="reply-item">
                                        <img src="https://picsum.photos/200/200?random=101" alt="王音乐的头像" class="reply-avatar">
                                        <div class="reply-content">
                                            <div class="comment-header">
                                                <span class="comment-author">王音乐（发起人）</span>
                                                <span class="comment-time">昨天 20:15</span>
                                            </div>
                                            <div class="comment-text">
                                                今年的阵容更强大哦！"海浪乐队"会来的，而且我们还邀请了"星光组合"和"火焰乐队"，绝对值得期待！
                                            </div>
                                            <div class="comment-actions">
                                                <div class="comment-action">
                                                    <i class="far fa-heart"></i>
                                                    <span>42</span>
                                                </div>
                                                <div class="comment-action reply-btn">
                                                    <i class="far fa-reply"></i>
                                                    <span>回复</span>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                        
                        <!-- 留言3 -->
                        <div class="comment-item">
                            <img src="https://picsum.photos/200/200?random=204" alt="赵小影的头像" class="comment-avatar">
                            <div class="comment-content">
                                <div class="comment-header">
                                    <span class="comment-author">赵小影</span>
                                    <span class="comment-time">3天前</span>
                                </div>
                                <div class="comment-text">
                                    请问现场有充电宝可以租借吗？担心手机拍照没电了，另外有没有存包的地方？
                                </div>
                                <div class="comment-actions">
                                    <div class="comment-action">
                                        <i class="far fa-heart"></i>
                                        <span>7</span>
                                    </div>
                                    <div class="comment-action reply-btn">
                                        <i class="far fa-reply"></i>
                                        <span>回复</span>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                    
                    <!-- 加载更多 -->
                    <div style="text-align: center; margin-top: 1.5rem;">
                        <button class="action-btn secondary">
                            <i class="fas fa-history"></i>
                            <span>加载更多留言</span>
                        </button>
                    </div>
                </div>
                
                <!-- 相关活动 -->
                <div class="related-events fade-in">
                    <h2 class="card-title">
                        <i class="fas fa-thumbs-up"></i>
                        你可能也喜欢
                    </h2>
                    
                    <div class="events-grid">
                        <!-- 相关活动1 -->
                        <div class="related-event-card">
                            <img src="https://picsum.photos/400/300?random=31" alt="爵士音乐会" class="related-event-image">
                            <div class="related-event-content">
                                <span class="event-category cat-music">音乐演出</span>
                                <h3 class="related-event-title">爵士之夜，蓝调音乐现场演出</h3>
                                <div class="related-event-meta">
                                    <i class="far fa-calendar-alt"></i>
                                    <span>每周五 21:00</span>
                                </div>
                                <div class="related-event-meta">
                                    <i class="far fa-map-marker-alt"></i>
                                    <span>蓝调酒吧 (1.8km)</span>
                                </div>
                            </div>
                        </div>
                        
                        <!-- 相关活动2 -->
                        <div class="related-event-card">
                            <img src="https://picsum.photos/400/300?random=32" alt="摇滚现场演出" class="related-event-image">
                            <div class="related-event-content">
                                <span class="event-category cat-music">音乐演出</span>
                                <h3 class="related-event-title">地下摇滚现场，释放你的激情</h3>
                                <div class="related-event-meta">
                                    <i class="far fa-calendar-alt"></i>
                                    <span>7月16日 22:00</span>
                                </div>
                                <div class="related-event-meta">
                                    <i class="far fa-map-marker-alt"></i>
                                    <span>迷笛俱乐部 (4.5km)</span>
                                </div>
                            </div>
                        </div>
                        
                        <!-- 相关活动3 -->
                        <div class="related-event-card">
                            <img src="https://picsum.photos/400/300?random=33" alt="音乐节志愿者活动" class="related-event-image">
                            <div class="related-event-content">
                                <span class="event-category cat-study">志愿活动</span>
                                <h3 class="related-event-title">城市音乐节志愿者招募</h3>
                                <div class="related-event-meta">
                                    <i class="far fa-calendar-alt"></i>
                                    <span>7月15日 16:00</span>
                                </div>
                                <div class="related-event-meta">
                                    <i class="far fa-map-marker-alt"></i>
                                    <span>中央公园 (3.2km)</span>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            
            <!-- 侧边栏 -->
            <div class="sidebar">
                <!-- 发起人信息 -->
                <div class="card fade-in">
                    <h2 class="card-title">
                        <i class="fas fa-user-circle"></i>
                        活动发起人
                    </h2>
                    <div class="host-info">
                        <img src="https://picsum.photos/200/200?random=101" alt="王音乐的头像" class="host-avatar">
                        <div class="host-details">
                            <div class="host-name">王音乐</div>
                            <div class="host-meta">音乐活动组织者</div>
                            <div class="host-meta">已组织 24 场活动</div>
                        </div>
                    </div>
                    <button class="action-btn secondary" style="width: 100%; justify-content: center;">
                        <i class="far fa-user-plus"></i>
                        <span>关注发起人</span>
                    </button>
                </div>
                
                <!-- 活动信息卡片 -->
                <div class="card fade-in">
                    <h2 class="card-title">
                        <i class="fas fa-info-square"></i>
                        活动信息
                    </h2>
                    <div class="event-meta" style="flex-direction: column; align-items: flex-start; gap: 1rem;">
                        <div class="meta-item">
                            <i class="far fa-calendar-alt"></i>
                            <span>2023年7月15日 18:00 - 22:00</span>
                        </div>
                        <div class="meta-item">
                            <i class="far fa-map-marker-alt"></i>
                            <span>中央公园音乐广场</span>
                        </div>
                        <div class="meta-item">
                            <i class="far fa-money-bill-wave"></i>
                            <span>¥120/人</span>
                        </div>
                        <div class="meta-item">
                            <i class="far fa-ticket-alt"></i>
                            <span>电子票，凭二维码入场</span>
                        </div>
                        <div class="meta-item">
                            <i class="far fa-phone"></i>
                            <span>咨询电话：138-xxxx-5678</span>
                        </div>
                        <div class="meta-item">
                            <i class="far fa-globe"></i>
                            <span>官方网站：www.citymusic.com</span>
                        </div>
                    </div>
                    <button class="action-btn secondary" style="width: 100%; justify-content: center; margin-top: 1rem;">
                        <i class="far fa-map"></i>
                        <span>查看地图位置</span>
                    </button>
                </div>
                
                <!-- 参与者列表 -->
                <div class="card fade-in">
                    <h2 class="card-title">
                        <i class="fas fa-users"></i>
                        参与者 (328)
                    </h2>
                    <div class="participants-list">
                        <div class="participant">
                            <img src="https://picsum.photos/200/200?random=401" alt="参与者头像" class="participant-avatar">
                            <div class="participant-tooltip">陈小军</div>
                        </div>
                        <div class="participant">
                            <img src="https://picsum.photos/200/200?random=402" alt="参与者头像" class="participant-avatar">
                            <div class="participant-tooltip">林小美</div>
                        </div>
                        <div class="participant">
                            <img src="https://picsum.photos/200/200?random=403" alt="参与者头像" class="participant-avatar">
                            <div class="participant-tooltip">赵音乐</div>
                        </div>
                        <div class="participant">
                            <img src="https://picsum.photos/200/200?random=404" alt="参与者头像" class="participant-avatar">
                            <div class="participant-tooltip">吴小华</div>
                        </div>
                        <div class="participant">
                            <img src="https://picsum.photos/200/200?random=405" alt="参与者头像" class="participant-avatar">
                            <div class="participant-tooltip">郑小明</div>
                        </div>
                        <div class="participant">
                            <div class="participant-count">
                                +323
                            </div>
                        </div>
                    </div>
                    <button class="action-btn secondary" style="width: 100%; justify-content: center;">
                        <i class="far fa-list"></i>
                        <span>查看全部参与者</span>
                    </button>
                </div>
                
                <!-- 活动二维码 -->
                <div class="card fade-in">
                    <h2 class="card-title">
                        <i class="fas fa-qrcode"></i>
                        活动二维码
                    </h2>
                    <div style="display: flex; justify-content: center; padding: 1rem;">
                        <div style="width: 160px; height: 160px; background-color: #f1f5f9; display: flex; align-items: center; justify-content: center; color: #64748b;">
                            <i class="fas fa-qrcode fa-5x"></i>
                        </div>
                    </div>
                    <div style="text-align: center; font-size: 0.85rem; color: #64748b;">
                        <p>扫码分享活动给好友</p>
                    </div>
                </div>
            </div>
        </div>
    </div>
    
    <!-- 页脚 -->
    <footer>
        <div class="container">
            <div class="footer-content">
                <p>&copy; 2023 心动社交 - 让每次活动都充满惊喜</p>
            </div>
        </div>
    </footer>

    <!-- Bootstrap 5 JS Bundle with Popper -->
    <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js"></script>
    
    <script>
        document.addEventListener('DOMContentLoaded', function() {
            // 滚动渐入动画
            const fadeElements = document.querySelectorAll('.fade-in');
            
            const observer = new IntersectionObserver((entries) => {
                entries.forEach((entry, index) => {
                    if (entry.isIntersecting) {
                        setTimeout(() => {
                            entry.target.style.opacity = '1';
                            entry.target.style.transform = 'translateY(0)';
                        }, index * 100);
                        observer.unobserve(entry.target);
                    }
                });
            }, { threshold: 0.1 });
            
            fadeElements.forEach(el => observer.observe(el));
            
            // 回复按钮点击事件
            const replyButtons = document.querySelectorAll('.reply-btn');
            replyButtons.forEach(btn => {
                btn.addEventListener('click', function() {
                    // 找到最近的回复列表
                    const repliesList = this.closest('.comment-content, .reply-content').querySelector('.replies-list');
                    
                    // 如果已经有回复表单，则移除
                    const existingReplyForm = repliesList.querySelector('.reply-form');
                    if (existingReplyForm) {
                        repliesList.removeChild(existingReplyForm);
                        return;
                    }
                    
                    // 获取被回复人的名字
                    const authorName = this.closest('.comment-content, .reply-content').querySelector('.comment-author').textContent;
                    
                    // 创建回复表单
                    const replyForm = document.createElement('div');
                    replyForm.className = 'reply-form';
                    replyForm.innerHTML = `
                        <img src="https://picsum.photos/200/200?random=user" alt="你的头像" class="reply-avatar">
                        <textarea class="reply-input" rows="2" placeholder="回复 @${authorName}..."></textarea>
                        <button class="comment-btn primary">回复</button>
                    `;
                    
                    // 添加到回复列表
                    repliesList.appendChild(replyForm);
                    
                    // 自动聚焦
                    replyForm.querySelector('.reply-input').focus();
                });
            });
            
            // 参与按钮点击事件
            const joinButton = document.querySelector('.action-btn.primary');
            joinButton.addEventListener('click', function() {
                if (this.innerHTML.includes('我要参加')) {
                    this.innerHTML = '<i class="far fa-check-circle"></i><span>已参加</span>';
                    this.style.backgroundColor = '#10b981';
                    
                    // 更新参与人数
                    const participantCount = document.querySelector('.meta-item:nth-child(4) span');
                    participantCount.textContent = '329人已参加';
                    
                    // 添加到参与者列表
                    const participantsList = document.querySelector('.participants-list');
                    const newParticipant = document.createElement('div');
                    newParticipant.className = 'participant';
                    newParticipant.innerHTML = `
                        <img src="https://picsum.photos/200/200?random=user" alt="你的头像" class="participant-avatar">
                        <div class="participant-tooltip">我</div>
                    `;
                    
                    // 插入到列表开头
                    participantsList.insertBefore(newParticipant, participantsList.firstChild);
                    
                    // 更新计数
                    const countElement = participantsList.querySelector('.participant-count');
                    countElement.textContent = '+322';
                } else {
                    this.innerHTML = '<i class="far fa-plus-circle"></i><span>我要参加</span>';
                    this.style.backgroundColor = '#3b82f6';
                    
                    // 更新参与人数
                    const participantCount = document.querySelector('.meta-item:nth-child(4) span');
                    participantCount.textContent = '328人已参加';
                    
                    // 从参与者列表移除
                    const participantsList = document.querySelector('.participants-list');
                    const userParticipant = participantsList.querySelector('.participant-tooltip:contains("我")').closest('.participant');
                    if (userParticipant) {
                        participantsList.removeChild(userParticipant);
                        
                        // 更新计数
                        const countElement = participantsList.querySelector('.participant-count');
                        countElement.textContent = '+323';
                    }
                }
            });
            
            // 收藏按钮点击事件
            const bookmarkButton = document.querySelector('.action-btn.secondary:nth-child(2)');
            bookmarkButton.addEventListener('click', function() {
                if (this.querySelector('i').classList.contains('far')) {
                    this.querySelector('i').classList.remove('far');
                    this.querySelector('i').classList.add('fas');
                    this.style.color = '#3b82f6';
                } else {
                    this.querySelector('i').classList.remove('fas');
                    this.querySelector('i').classList.add('far');
                    this.style.color = '#64748b';
                }
            });
            
            // 点赞按钮点击事件
            const likeButtons = document.querySelectorAll('.comment-action:first-child');
            likeButtons.forEach(btn => {
                btn.addEventListener('click', function() {
                    const icon = this.querySelector('i');
                    const countSpan = this.querySelector('span');
                    let count = parseInt(countSpan.textContent);
                    
                    if (icon.classList.contains('far')) {
                        icon.classList.remove('far');
                        icon.classList.add('fas');
                        icon.style.color = '#ef4444';
                        countSpan.textContent = count + 1;
                    } else {
                        icon.classList.remove('fas');
                        icon.classList.add('far');
                        icon.style.color = '';
                        countSpan.textContent = count - 1;
                    }
                });
            });
        });
    </script>
</body>
</html>
